package com.zxy.ziems.common.mqtt;

import org.eclipse.paho.client.mqttv3.MqttMessage;

/**
 * @author 10348359
 * @create 2024-04-29 14:57
 */
public interface MqttMessageDecoder<T> {
    /**
     * 下位机消息解码器
     * @param msg
     * @return
     */
    T mqttMessageDecode(MqttMessage msg);
}
